﻿using Domain.Entity.System_setting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.IRepository.System_setting
{
    public interface IDepartRepository
    {

        List<Ment_depart> GetDepart();

        List<Ment_depart> GetDepartChildren(long id, long Depart_id);

        int AddDepart(Ment_depart depart);

        int DelDepart(int id);

        int UpdDepart(Ment_depart d);

        Ment_depart GetById(long id);

        Info_company GetByCompId(int id);

    }
}
